package com.ruoyi.project.kbjz.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class KbjzCase extends BaseEntity {
    //病例编号
    private String caseId;
    //发病日期
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date caseDate;
    //接诊类型 1：初诊，2:复诊
    private  Integer caseType;
    //是否传染 0：否 1：是
    private Integer caseIsfect;
    //主诉
    private String caseMainsay;
    //诊断信息
    private String  caseDiagInfo;
    //医生建议
    private String caseAdvice;
    //备注信息
    private String caseRemark;
    //挂号单号
    private String registerId;
    //患者编号
    private String patientId;
//    医生id
    private Long userId;
    //医生姓名
    private String doctorName;
//    部门
    private String deptName;
//    部门编号
    private Long deptId;

}
